Leap-year calculation in DXL script?

I have a dxl script that returns number of days in a month, and need a method to determine the leap year for February.

I have searched the DOORS 9.4 manual, and do not see any year perm.

Does anyone have a proven method to extract leap years from the current year?

 

Thanks.


Gedinfo - Mon Jul 14 14:05:24 EDT 2014

Re: Leap-year calculation in DXL script?
Gedinfo - Mon Jul 14 15:00:42 EDT 2014

I found a leap year calculation in Tony Goodman's smartdxl.com.

 

Thank you, Tony.